<script type="text/javascript">
	var iframe = window.parent.document.getElementById("rightFrame");
	var bHeight = iframe.contentWindow.document.body.scrollHeight;  
    var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;  
    var height = Math.max(bHeight, dHeight);  
    iframe.height =  height;
</script>